package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.vo.NLaboratoryMechanicsPressMachineDetailVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMechanicsPressMachineDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 压力机详细表Service接口
 *
 * @author zyb
 * @date 2023-09-13
 */
public interface INLaboratoryMechanicsPressMachineDetailService {

    /**
     * 查询压力机详细表
     */
    NLaboratoryMechanicsPressMachineDetailVo queryById(String id);

    /**
     * 查询压力机详细表列表
     */
    TableDataInfo<NLaboratoryMechanicsPressMachineDetailVo> queryPageList(NLaboratoryMechanicsPressMachineDetailBo bo, PageQuery pageQuery);

    /**
     * 查询压力机详细表列表
     */
    List<NLaboratoryMechanicsPressMachineDetailVo> queryList(NLaboratoryMechanicsPressMachineDetailBo bo);

    /**
     * 新增压力机详细表
     */
    Boolean insertByBo(NLaboratoryMechanicsPressMachineDetailBo bo);

    /**
     * 修改压力机详细表
     */
    Boolean updateByBo(NLaboratoryMechanicsPressMachineDetailBo bo);

    /**
     * 校验并批量删除压力机详细表信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    /**
     * 压力机详情列表
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<NLaboratoryMechanicsPressMachineDetailVo> page(NLaboratoryMechanicsPressMachineDetailBo bo, PageQuery pageQuery);
}
